package service

import "time"

// RFC3339StringToTime ...
func RFC3339StringToTime(str string) (t *time.Time, err error) {
	uTime, err := time.Parse(time.RFC3339, str)
	if err != nil {
		return nil, err
	}
	return &uTime, nil
}
